import request from '@/utils/request'

export default {

  getList(params) {
    return request({
      url: '/sxOrderImg/findList',
      method: 'get',
      params
    })
  },
  get(params) {
    return request({
      url: '/sxOrderImg/' + params.orderImgId,
      method: 'get',
      params
    })
  },

  getPage(params) {
    return request({
      url: '/sxOrderImg/page',
      method: 'get',
      params
    })
  },

  update(params) {
    return request({
      url: '/sxOrderImg/update',
      method: 'post',
      params
    })
  },

  insert(params) {
    return request({
      url: '/sxOrderImg/insert',
      method: 'post',
      params
    })
  },

  remove(params) {
    return request({
      url: '/sxOrderImg/delete',
      method: 'post',
      params
    })
  }
}
